package org.jimmy.tang.designpattern.structure.facade;

/**
 * @author jimmy
 * 
 */
public class Test {

    public static void main(String[] args) {
        ServiceA sa = new ServiceAImpl();
        ServiceB sb = new ServiceBImpl();

        sa.methodA();
        sb.methodB();

        System.out.println("========");
        // facade
        Facade facade = new Facade();
        facade.methodA();
        facade.methodB();
    }

}
